//这里是用c++实现栈
//链栈
#include"stack.hpp"

int main()
{
    LinkedStack* stack1=new LinkedStack;
    ListData a;
    a.init();
   stack1->Push(a);
   stack1->GetLength();
   std::cout<<"lala\n"<<stack1->IfEmpty()<<'\n';
   stack1->GetTop().show();
   stack1->Push(a);
   stack1->Pop();
   delete stack1;
    return 0;
}